Skip to content

Conversation

@idroxid
Copy link

@idroxid idroxid commented Dec 8, 2020

Hi,

I'm currently developing an app and I'm using your library in order to pick multiple images.
Actually, I need to pick media which can be a mix of images and videos.

So, what I did is to add video property in the GMFetchItem class.
@property (nonatomic, strong) NSString * video;

When the user selects a video within the MediaPicker, I export the video to the tmp zone with no transformation
AVAssetExportPresetPassthrough

Then in the result of the plugin, If the asset is a video, I put the path of the video file instead of the full_image.

Please do not hesitate to give me some feedback. I'll be happy to improve.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants